<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>列表渲染</title>
    <script src="../react/react.development.js"></script>
    <script src="../react/react-dom.development.js"></script>
    <script src="../react/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel">
    var fors = [<li>列表1</li>,<li>列表2</li>,<li>列表3</li>]
    ReactDOM.render(<ul>{fors}</ul>, document.getElementById('root'))
</script>
</body>
</html>
